<%@ include file="/WEB-INF/jsp/include.jsp"%>
<html>
<head>
<link type="text/css" rel="stylesheet" media="all"
	href="./jquery-ui-1.8.9.custom.css" />
<script type="text/javascript" src="./jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="./jquery-ui-1.8.9.custom.min.js"></script>
<script type="text/javascript" src="./Validation.js"></script>
<script type="text/javascript" src="./header.js"></script>
<script type="text/javascript" src="./jquery.validate.js"></script>
<script type="text/javascript" src="./jquery.cookie.js"></script>
<script type="text/javascript" src="./cookie-service.js"></script>
<script type="text/javascript" src="./auto-complete.js"></script>
<link type="text/css" rel="stylesheet" media="all" href="./simple.css" />
<script type="text/javascript">
	$(document).ready(function() {
		$("#form1").validate({
			rules : {
				exp : {
					required : true,
					number : true
				},
				desig : "required",
				jobType : "required",
				location : "required",
				review : "required",
				rating : {
					required : true,
					number : true
				}
			}
		});
		setAutoComplete(['desigReviewId','designation','locationId','location']);
	});
</script>
</head>
<body>
	<div id="header"></div>
	Add your review :
	<form id="form1" name="addR"
		action="AddReviewD.htm?companyId=${param.companyId}" method="get">
		<div class="form-row">
			<span class="label">Gender: </span><select name="gender">
				<option value="M">Male</option>
				<option value="F">Female</option>
			</select>
			</div>
			<div class="form-row">
				<span class="label">Expereince(In yrs): </span><input type="text"
					name="exp" id="expId" />
			</div>
			<div class="form-row">
				<span class="label">Designation: </span><input type="text"
					name="desig" id="desigReviewId" />
			</div>
			<div class="form-row">
				<span class="label">Job Type: </span><input type="text"
					name="jobType" id="jobTypeId" />
			</div>
			<div class="form-row">
				<span class="label">Location: </span><input type="text"
					name="location" id="locationId" />
			</div>
			<div class="form-row">
				<span class="label">Review: </span><input type="text" name="review"
					id="reviewId" />
			</div>
			<div class="form-row">
				<span class="label">Rating: </span><input type="text" name="rating"
					id="ratingId" />
			</div>
			<div class="form-row">
				<input class="submit" type="submit" Value="Submit">
			</div>
			<div style="visibility: hidden">
				<input type="text" name="companyId" value="${param.companyId}" />
			</div>
	</form>
</body>
</html>